<?php

class ModuleFactory {
    public static function create($name, RequestContext $context) {
        $obj = new $name($context);
        //if($with_init) $obj->onExternCreate($args);
        return $obj;
    }
}

?>